package com.team.service.impl;

import com.team.entity.Admin;
import com.team.mapper.TestMapper;
import com.team.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService
    {
        @Autowired
        private TestMapper testMapper;
        @Override
        public List<Admin> test()
            {
               List<Admin> list= testMapper.getAllAdmin();
               return list;
            }
    }
